package com.cloud.edu.bus.client.admin;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.cloud.edu.model.response.ObjectDataResponse;


/**
 * @author dehuisun
 */
@Component
public class AdminClientFallback implements AdminClient {
    private static final Logger LOGGER = LoggerFactory.getLogger(AdminClientFallback.class);

    private void didNotGetResponse() {
        LOGGER.error("service '{}' has become unreachable", AdminClient.SERVICE_ID);
    }

//	@Override
//	public ObjectDataResponse<User> findUser(String userId) {
//		// TODO Auto-generated method stub
//		didNotGetResponse();
//		return null;
//	}

	



	

}
